import request from '@/utils/https'


//-------------------------------------------------------------------------------弃用
//设备锁管控列表
export const appLockList = params => request('get','api/appLockList',params)

//上传execl文件
export const uploadExecl = params => request('post','api/uploadExecl',params)

//添加SN码解锁
export const addAppLock = params => request('post','api/addAppLock',params)

//-------------------------------------------------------------------------------可用的接口
//获取PAD解除封闭管理信息
export const queryPAD = params => request('get','api/queryPAD',params)

//PAD设置锁定和解锁设置
export const importPAD = params => request("post",'api/importPAD',params)

//设备重置和恢复出厂模式
export const resetFactory = params => request('post','api/resetFactory',params)

//获取PAD重置管理信息
export const queryResetPAD = params => request('get','api/queryResetPAD',params)

//单个设备锁定和解锁
export const singleSn = params => request('post','api/singleSn',params)

//用户名或批次推送
export const userResetFactory = params => request('post','api/userResetFactory',params)

//单个设备重启或恢复出厂模式
export const restartOrReset = params => request('post','api/restartOrReset',params)

//获取清除应用缓存数据
export const queryClearApp = params => request('get','api/desktop/queryClearApp',params)

//清除应用缓存信息
export const addClearApp = params => request('post','api/desktop/addClearApp',params)

//删除清除应用缓存信息
export const deleteClearApp = params => request('post','api/desktop/deleteClearApp',params)

//获取开发者模式设置
export const queryDeveloperSn = params => request('get','api/sn/queryDeveloperSn',params)

//获取开发者模式设置
export const addDeveloperSn = params => request('post','api/sn/addDeveloperSn',params)

//八一项目获取PAD解除封闭管理信息
export const queryPADBaYi = params => request('get','api/queryPADBaYi',params)

//八一项目多个设备锁定和解锁
export const importPADBaYi = params => request('post','api/importPADBaYi',params)

//八一项目单个设备锁定和解锁
export const singleSnBaYi = params => request('post','api/singleSnBaYi',params)